package com.study.example.gameserver.module.equip.resource;

import com.sparrow.resource.annotation.ID;
import com.sparrow.resource.annotation.Resource;
import com.study.example.gameserver.module.attr.domain.AttrType;
import java.util.Map;

/**
 * 装备配置
 */
@Resource("config/EquipResource.xlsx")
public class EquipResource {
    @ID
    private int id;
    private String name;
    private int part;
    private Map<AttrType, Integer> baseAttr;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPart() {
        return part;
    }

    public void setPart(int part) {
        this.part = part;
    }

    public Map<AttrType, Integer> getBaseAttr() {
        return baseAttr;
    }

    public void setBaseAttr(Map<AttrType, Integer> baseAttr) {
        this.baseAttr = baseAttr;
    }
}
